package com.mywork.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mywork.dao.ProfessionMapper;
import com.mywork.po.Profession;
@Service
public class ProfessionService {
	
	@Autowired
	ProfessionMapper professionMapper;
	
	
	public Profession selectById(String id){
		return professionMapper.selectByPrimaryKey(Integer.valueOf(id));
	}
}
